import ajax from './index'

// 获取预支付配置
// export const getPayConfig = () => ajax.post('search/city/getRegionIdByName')
// 获取支付配置
export const doPay = (orderNo) => ajax.post('pay/doPay', { orderNo })

// 查询是否支付成功
export const isPaySuccess = (params) => ajax.post('trade/isPaySuccess', params)

// 小程序：获取微信支付参数
export const pullPay = (params) => ajax.post('pay/wehotel/pullPay', params)
